﻿using Dx.Proj.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;

namespace Dx.Proj.Permissions;

public class ProjPermissionDefinitionProvider : PermissionDefinitionProvider
{
    public override void Define(IPermissionDefinitionContext context)
    {
        var myGroup = context.AddGroup(ProjPermissions.GroupName, L("Permission:Proj"));
    }

    private static LocalizableString L(string name)
    {
        return LocalizableString.Create<ProjResource>(name);
    }
}
